## Process this file with automake to produce Makefile.in
## Created by Anjuta

SUBDIRS = src po icons

fosfordocdir = ${docdir}/fosfor
fosfordoc_DATA = \
	README\
	COPYING\
	AUTHORS\
	ChangeLog\
	INSTALL\
	NEWS

desktopdir = ${prefix}/share/applications
desktop_DATA = fosfor.desktop

INTLTOOL_FILES = intltool-extract.in \
	intltool-merge.in \
	intltool-update.in

EXTRA_DIST = $(fosfordoc_DATA) \
	$(INTLTOOL_FILES) \
	$(desktop_DATA)

DISTCLEANFILES = intltool-extract \
	intltool-merge \
	intltool-update \
	po/.intltool-merge-cache

gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor

update-icon-cache:
	@-if test -z "$(DESTDIR)"; then \
		$(gtk_update_icon_cache); \
	fi
	
# Remove doc directory on uninstall
uninstall-local:
	-rm -r $(fosfordocdir)

install-data-hook: update-icon-cache